\doxysection{buzzer\+Task.\+h}
\hypertarget{buzzer_task_8h_source}{}\label{buzzer_task_8h_source}\index{C:/Users/ASUS/Desktop/dm-\/ctrlH7-\/balance-\/9025test/TasksInc/buzzerTask.h@{C:/Users/ASUS/Desktop/dm-\/ctrlH7-\/balance-\/9025test/TasksInc/buzzerTask.h}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{preprocessor}{\#ifndef\ buzzerTask\_H}}
\DoxyCodeLine{00002\ \textcolor{preprocessor}{\#define\ buzzerTask\_H}}
\DoxyCodeLine{00003\ }
\DoxyCodeLine{00004\ \textcolor{comment}{/*-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/INCLUDES-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/*/}}
\DoxyCodeLine{00005\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{main_8h}{main.h}}"{}}}
\DoxyCodeLine{00006\ \textcolor{preprocessor}{\#include\ "{}cmsis\_os.h"{}}}
\DoxyCodeLine{00007\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{tim_8h}{tim.h}}"{}}}
\DoxyCodeLine{00008\ \textcolor{comment}{//\ \#include\ "{}struct\_typedef.h"{}}}
\DoxyCodeLine{00009\ \textcolor{comment}{/*-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/DEFINES-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/*/}}
\DoxyCodeLine{00010\ \textcolor{comment}{//}}
\DoxyCodeLine{00011\ \textcolor{preprocessor}{\#define\ PLAYING\_STOP\ 0}}
\DoxyCodeLine{00012\ \textcolor{preprocessor}{\#define\ PLAYING\_INIT\_MUSIC\ 1}}
\DoxyCodeLine{00013\ }
\DoxyCodeLine{00014\ \textcolor{preprocessor}{\#define\ PLAYING\_WARNING\_SOUND\ 11}}
\DoxyCodeLine{00015\ \textcolor{preprocessor}{\#define\ PLAYING\_ERROR\_SOUND\ 12}}
\DoxyCodeLine{00016\ }
\DoxyCodeLine{00017\ \textcolor{preprocessor}{\#define\ PLAYING\_GYROCALIB\_SOUND\ 21}}
\DoxyCodeLine{00018\ \textcolor{preprocessor}{\#define\ PLAYING\_AUTOAIMING\_SOUND\ 22}}
\DoxyCodeLine{00019\ }
\DoxyCodeLine{00020\ \textcolor{comment}{/*-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/DECLARES-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/*/}}
\DoxyCodeLine{00021\ \textcolor{comment}{//}}
\DoxyCodeLine{00022\ \textcolor{keyword}{extern}\ uint8\_t\ buzzer\_state;}
\DoxyCodeLine{00023\ }
\DoxyCodeLine{00024\ \textcolor{comment}{//}}
\DoxyCodeLine{00025\ \textcolor{keyword}{extern}\ \textcolor{keyword}{const}\ uint16\_t\ song\_littlestar[];}
\DoxyCodeLine{00026\ \textcolor{keyword}{extern}\ \textcolor{keyword}{const}\ uint16\_t\ song\_happybirthday[];}
\DoxyCodeLine{00027\ \textcolor{keyword}{extern}\ \textcolor{keyword}{const}\ uint16\_t\ song\_eastred[];}
\DoxyCodeLine{00028\ }
\DoxyCodeLine{00029\ \textcolor{keyword}{extern}\ \textcolor{keyword}{const}\ uint16\_t\ song\_robomasteryou[];}
\DoxyCodeLine{00030\ \textcolor{keyword}{extern}\ \textcolor{keyword}{const}\ uint16\_t\ song\_robomasteryou2[];}
\DoxyCodeLine{00031\ \textcolor{keyword}{extern}\ \textcolor{keyword}{const}\ uint16\_t\ song\_robomasterlickdog[];}
\DoxyCodeLine{00032\ }
\DoxyCodeLine{00033\ \textcolor{comment}{//}}
\DoxyCodeLine{00034\ \textcolor{keyword}{extern}\ \textcolor{keyword}{const}\ uint8\_t\ sound\_warning[];}
\DoxyCodeLine{00035\ \textcolor{keyword}{extern}\ \textcolor{keyword}{const}\ uint8\_t\ sound\_error[];}
\DoxyCodeLine{00036\ \textcolor{keyword}{extern}\ \textcolor{keyword}{const}\ uint8\_t\ sound\_gyrocalibrating[];}
\DoxyCodeLine{00037\ \textcolor{keyword}{extern}\ \textcolor{keyword}{const}\ uint8\_t\ sound\_autoaiming[];}
\DoxyCodeLine{00038\ }
\DoxyCodeLine{00039\ \textcolor{comment}{//}}
\DoxyCodeLine{00040\ \textcolor{keywordtype}{void}\ systemstart\_song(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00041\ }
\DoxyCodeLine{00042\ \textcolor{comment}{//}}
\DoxyCodeLine{00043\ \textcolor{keywordtype}{void}\ buzzerTask(\textcolor{keywordtype}{void}\ \textcolor{keyword}{const}\ *\ argument);}
\DoxyCodeLine{00044\ \textcolor{keywordtype}{void}\ SongLaoda(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00045\ \textcolor{comment}{//}}
\DoxyCodeLine{00046\ \textcolor{keyword}{extern}\ \textcolor{keywordtype}{void}\ SetBuzzerOff(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00047\ \textcolor{keyword}{extern}\ \textcolor{keywordtype}{void}\ SetBuzzerFrequence(uint16\_t\ freq);}
\DoxyCodeLine{00048\ }
\DoxyCodeLine{00049\ }
\DoxyCodeLine{00050\ \textcolor{keyword}{extern}\ \textcolor{keywordtype}{void}\ buzzer\_on(uint16\_t\ psc,\ uint16\_t\ pwm);}
\DoxyCodeLine{00051\ \textcolor{keyword}{extern}\ \textcolor{keywordtype}{void}\ buzzer\_off(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00052\ \textcolor{keyword}{extern}\ \textcolor{keywordtype}{void}\ buzzer\_note(uint16\_t\ note,\textcolor{keywordtype}{float}\ volume);}
\DoxyCodeLine{00053\ }
\DoxyCodeLine{00054\ \textcolor{comment}{//}}
\DoxyCodeLine{00055\ \textcolor{keyword}{extern}\ int8\_t\ SetBuzzerState(uint8\_t\ state);}
\DoxyCodeLine{00056\ \textcolor{keyword}{extern}\ \textcolor{keywordtype}{void}\ PlayingSong(\textcolor{keyword}{const}\ uint16\_t\ *song,\ uint16\_t\ len);}
\DoxyCodeLine{00057\ \textcolor{keyword}{extern}\ \textcolor{keywordtype}{void}\ PlayingSound(\textcolor{keyword}{const}\ uint8\_t\ *sound,\ uint16\_t\ len);}
\DoxyCodeLine{00058\ }
\DoxyCodeLine{00059\ }
\DoxyCodeLine{00060\ \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
